package com.ysd.entity;

public class NewsDetails {
	private int newsId;
	private String newsTitle;
	private String newsContent;
	private int newscategoryId;
	public int getNewsId() {
		return newsId;
	}
	public void setNewsId(int newsId) {
		this.newsId = newsId;
	}
	public String getNewsTitle() {
		return newsTitle;
	}
	public void setNewsTitle(String newsTitle) {
		this.newsTitle = newsTitle;
	}
	public String getNewsContent() {
		return newsContent;
	}
	public void setNewsContent(String newsContent) {
		this.newsContent = newsContent;
	}
	public int getNewscategoryId() {
		return newscategoryId;
	}
	public void setNewscategoryId(int newscategoryId) {
		this.newscategoryId = newscategoryId;
	}
	public NewsDetails(int newsId, String newsTitle, String newsContent, int newscategoryId) {
		super();
		this.newsId = newsId;
		this.newsTitle = newsTitle;
		this.newsContent = newsContent;
		this.newscategoryId = newscategoryId;
	}
	public NewsDetails() {
		super();
	}
	@Override
	public String toString() {
		return "NewsDetails [newsId=" + newsId + ", newsTitle=" + newsTitle + ", newsContent=" + newsContent
				+ ", newscategoryId=" + newscategoryId + "]";
	}
	
}
